<?php

namespace app\models;

use yii\db\ActiveRecord;

class Supplier extends ActiveRecord
{
    public function rules()
    {
        return [
            [['id'], 'integer'],
            [['name', 'code'], 'string'],
        ];
    }

}